package cn.com.bluemoon.daps.model.entity;

import cn.com.bluemoon.daps.common.domain.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 关联标准结果表
 * </p>
 *
 * @author admin
 * @since 2020-08-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors
@ApiModel(value = "DapDataModelRelatedStandardResult", description = "关联标准结果表")
public class DapDataModelRelatedStandardResult extends BaseModel<DapDataModelRelatedStandardResult> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "是否忽略, 1:是, 2:否")
    @NotNull(message = "是否忽略不允许为空")
    private Integer isIgnore;

    @ApiModelProperty(value = "是否引用, 1:是, 2:否")
    private Integer isUse;

    @ApiModelProperty(value = "关联结果, 1:未关联标准, 2:已关联标准, 3:未匹配标准")
    private Integer linkedResults;

    @ApiModelProperty(value = "模型下属表字段id")
    @NotNull(message = "模型下属表字段id不允许为空")
    private String modelTableFieldId;

    @ApiModelProperty(value = "模型下属表id")
    @NotNull(message = "模型下属表id不允许为空")
    private String modelTableId;

    @ApiModelProperty(value = "模型id")
    @NotNull(message = "模型id不允许为空")
    private String dataModelId;

    @ApiModelProperty(value = "标准id")
    @NotNull(message = "标准id不允许为空")
    private String standardId;

    @ApiModelProperty(value = "引用标准方式, 1:人工, 2:自动")
    private Integer standardMethod;


}
